// packageF/others/wisdom/components/withdraw.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    list: {
      type: null,
    },
    poundageHj: {
      type: null
    },
    actual_amount: {
      type: null
    },
    cost_money: {
      type: null
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    radio:''
  },
  lifetimes:{
    attached(){
      let language = wx.getStorageSync("langIndex");
      this.setData({
        language: language.en,
        radio:false
      })
    }
  },
  /**
   * 组件的方法列表
   */
  methods: {
    toAdd() {
      wx.navigateTo({
        url: '/packageF/others/wisdom/addWisdomBank/addWisdomBank',
      })
    },
    onChange(e){
      console.log(e);
      this.setData({
        radio:e.detail
      })
    },
    confirm() {
      this.triggerEvent("confirm", {
        radio: this.data.radio
      })
    }
  }
})